package com.aidex.system.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

@Data
@EqualsAndHashCode(callSuper = true)
@Api(tags = "用户主题")
public class SysThemeConfig extends BaseEntity {

    @ApiModelProperty("用户ID")
    @Excel(name = "用户ID")
    @NotBlank(message = "用户ID不允许为空")
    private String userId;

    @ApiModelProperty("对应主题JSON")
    private String themeObj;

    @ApiModelProperty("排序")
    @Excel(name = "排序")
    private Integer sort;

    @ApiModelProperty("状态")
    @Excel(name = "状态" , dictType = "sys_normal_disable")
    @NotBlank(message = "状态（0正常 1删除 2停用）不允许为空")
    private String status;
}
